package grape.house.rest.estatealbum.form;
import grape.common.rest.form.BaseUpdateForm;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
/**
 * <p>
 * 楼盘相册表
 * </p>
 *
 * @author yangwei
 * @since 2020-09-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="楼盘相册更新表单对象")
public class EstateAlbumUpdateForm extends BaseUpdateForm {

    private static final long serialVersionUID = 1L;

    @NotEmpty(message="名称不能为空")
    @ApiModelProperty(value = "名称",required = true)
    private String name;

    @NotEmpty(message="楼盘id不能为空")
    @ApiModelProperty(value = "楼盘id",required = true)
    private String estateId;

    @NotEmpty(message="图片类型，字典id不能为空")
    @ApiModelProperty(value = "图片类型，字典id",required = true)
    private String estateAlbumTypeDictId;

    @NotEmpty(message="物业类型不能为空")
    @ApiModelProperty(value = "物业类型id",required = true)
    private String propertyTypeId;

    @NotEmpty(message="图片地址不能为空")
    @ApiModelProperty(value = "图片地址",required = true)
    private String imageUrl;

    @ApiModelProperty(value = "图片描述")
    private String imageDesc;

    @ApiModelProperty(value = "排序")
    private Integer seq;


}
